package cn.pojo;

/**
 * 映射数据库blogs表
 * @author 莫文聪
 *
 */
public class BlogList {
	private Integer id;
	private String title;
	private String content;
	private String createtime;
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public BlogList(Integer id, String title, String content, String createtime, String author, String categroy,
			Integer recommend, Integer collect, Integer likenum, Integer statue) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.createtime = createtime;
		this.author = author;
		this.categroy = categroy;
		this.recommend = recommend;
		this.collect = collect;
		Likenum = likenum;
		this.statue = statue;
	}
	private String author;
	private String categroy;
	private Integer recommend;
	private Integer collect;
	private Integer Likenum;
	private Integer statue;
	public BlogList() {
		super();
		// TODO Auto-generated constructor stub
	}
	public BlogList(Integer id, String title, String content, String author, String categroy,Integer recommend, Integer collect,
			Integer likenum, Integer statue) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.author = author;
		this.categroy = categroy;
		this.recommend = recommend;
		this.collect = collect;
		Likenum = likenum;
		this.statue = statue;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Integer getRecommend() {
		return recommend;
	}
	public void setRecommend(Integer recommend) {
		this.recommend = recommend;
	}
	public Integer getCollect() {
		return collect;
	}
	public String getCategroy() {
		return categroy;
	}
	public void setCategroy(String categroy) {
		this.categroy = categroy;
	}
	public void setCollect(Integer collect) {
		this.collect = collect;
	}
	public Integer getLikenum() {
		return Likenum;
	}
	public void setLikenum(Integer likenum) {
		Likenum = likenum;
	}
	public Integer getStatue() {
		return statue;
	}
	public void setStatue(Integer statue) {
		this.statue = statue;
	}
	@Override
	public String toString() {
		return "BlogList [id=" + id + ", title=" + title + ", content=" + content + ", createtime=" + createtime
				+ ", author=" + author + ", categroy=" + categroy + ", recommend=" + recommend + ", collect=" + collect
				+ ", Likenum=" + Likenum + ", statue=" + statue + "]";
	}
	
}
